package org.sixtynine.stock.model;

import java.util.List;

/**
 * @author Thilanka
 *
 * @param <T>
 */
public class GridData<T> {

	/** Total number of pages */
	private int total;
	/** The current page number */
	private int page;
	/** Total number of records */
	private int records;
	/** The actual data */
	private List<T> data;
	
	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
	

}
